package com.xiong.fan.clazz;

import java.io.IOException;

public class ClassLoaderDemo {

    public static void main(String[] args) throws IOException {
//        System.out.println(ClassLoaderDemo.class.getResource("").getPath());
//        System.out.println(ClassLoaderDemo.class.getResource("Target.class").getPath());
//        System.out.println();
//        System.out.println(ClassLoaderDemo.class.getClassLoader().getResource("").getPath());

        System.out.println(ClassLoaderDemo.class.getClassLoader().getResources("hello.html"));
//        sun.misc.Launcher.getBootstrapClassPath().getResources("target");
    }

}
